#ifndef STATIC_OBJECT_H
#define STATIC_OBJECT_H

#include "Engine2D/game.h"

using namespace game;

//Class StaticObject include background objects that presented on screen but they haven't collide in game
class StaticObject : public GameObject
{	
  public:
    StaticObject();
    StaticObject(Sprite*, float, float, int);
    virtual Rect GetRectBound();
    virtual int GetLayer();
    virtual void SetOrigin(float, float);
    virtual void Update(unsigned int = 0);
    virtual void Render(unsigned int = 0);
    virtual ~StaticObject();
		
  protected:
    Sprite* pSprite;	
    float posX;		//X-Coordinate of object in game's map 
    float posY;		//Y-Coordinate of object in game's map
    int layer;		//Layer of object
    float originX;	//X-Origin of object when draw
    float originY;	//Y-Origin of object when draw	
};

#endif